import {
  tilesetUtils,
  layersUtils,
  imageLayerUtils
} from "./layers";
import {
  createNavigation
} from "../widgets";

const viewerUtils = {
}

viewerUtils.initNavigation = (viewer, options) => {
  if (!options) return null;
  const navigation = createNavigation(viewer, options);
  return navigation
}

viewerUtils.addlayers = function(viewer, lyrDefines){
  layersUtils.addlayers(viewer, lyrDefines)
}

export {
  tilesetUtils,
  layersUtils,
  imageLayerUtils,
  viewerUtils
}
